PATH Mac OS 8 Developer Documentation
> Networking and Communications
> AppleShare
>
|

User Authentication Modules
|
UAMGetAttributeID
Obtain the value of an attribute by specifying its object ID.
extern UInt32 UAMGetAttribute (
UInt32 id,
OSType creator,
OSType type,
void *buffer,
UInt32* size);
-
id
-
A registry object ID obtained by searching the AppleShare Registry by name and type. For information about attribute names and types, see
The AppleShare Registry Library
, which is provided as part of the
AppleShare IP 6.1 Developer's Kit
.
-
creator
-
Specifies the creator code of the attribute ID whose value is to be obtained. For information about the attribute creator codes defined by Apple Computer, see
The AppleShare Registry Library
, which is provided as part of the
AppleShare IP 6.1 Developer's Kit
.
-
type
-
Specifies the type code of the attribute ID whose value is to be obtained. For information about the attribute type codes defined by Apple Computer, see
The AppleShare Registry Library
, which is provided as part of the AppleShare IP Developer's Kit.
-
buffer
-
On output, contains the value of the attribute identified by the
id
,
creator
, and
type
parameters.
-
size
-
On output, specifies the length of the data in
buffer
.
-
function result
-
A result code. For a list of possible values, see
Result Codes
.
DISCUSSION
The
UAMGetAttributeID
function obtains the value of the attribute identified by the
objectID
,
creator
, and
type
parameters.
© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)